package red.stu.pconstraint.dto.mapper.token;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.jetbrains.annotations.NotNull;

/**
 * 代码 Expression <br/>
 *     - 调用当前流程分支节点 定义的方法代码
 * @author yihrmc @stu.red
 * @date 2019/11/15 9:43
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class CodeExpression extends BlockExpression {

    public static final String TYPE = "code";

    /**
     * 调用的方法名
     */
    @NotNull
    private String method;

    public CodeExpression() {
        super(TYPE);
    }



}
